package com.free.compilation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.free.common.core.annotation.Excel;
import lombok.Data;

import java.util.List;

/**
 * 合集对象 zone_compilation
 *
 * @author free
 * @date 2023-07-25
 */
@Data
public class CompilationClassifySub {

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.AUTO)
    private Long cat;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String name;

    @Excel(name = "封面图")
    private String icon;

    private String key;
    /**
     * 描述
     */
    @Excel(name = "描述")
    private String descri;

    List<CompilationChapterSub> subs;//笔记的段落列表

}
